<%@ Page Title="" Language="C#" MasterPageFile="~/Master/loggedin.Master" AutoEventWireup="true" CodeBehind="settings.aspx.cs" Inherits="Ciripescu_WebRole.settings" %>

<%@ Register Assembly="WebTools.UI" Namespace="WebTools.UI.WebControls" TagPrefix="webtools" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div>
    <cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" 
        Width="100%" onactivetabchanged="TabContainer1_ActiveTabChanged" 
            CssClass="fancy fancy-green" >
        <cc1:TabPanel runat="server" HeaderText=" Cont " ID="TabPanel1">
      
        <ContentTemplate>
        <table cellspacing="5" cellpadding="5">
        <tr>
        <td class="label_cell">
            <asp:Label ID="Label1" runat="server" CssClass="label" Text="Nume real:"></asp:Label>
            </td>
        <td align="left">
            <asp:TextBox ID="txtRealName" runat="server" CssClass="textbox" Width="300px"></asp:TextBox></td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtRealName" ErrorMessage="...nu poate fi gol"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="label_cell">
                <asp:Label ID="Label3" runat="server" CssClass="label" Text="Email:"></asp:Label>
            </td>
        <td align="left">
            <asp:TextBox ID="txtEmail" runat="server" CssClass="textbox" Width="300px"></asp:TextBox></td>
        <td>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="txtEmail" Enabled="False" ErrorMessage="email invalid..." 
                meta:resourceKey="RegularExpressionValidator1Resource1" 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
        
        <tr>
        <td class="label_cell">
            <asp:Label ID="Label5" runat="server" Text="One line bio:" CssClass="label"></asp:Label></td>
        <td align="left">
            <asp:TextBox ID="txtOneBio" runat="server" CssClass="textbox" Width="300px"></asp:TextBox></td>
        </tr>
        
        <tr>
        <td class="label_cell">
            <asp:Label ID="Label4" runat="server" Text="URL despre tine:" CssClass="label"></asp:Label></td>
        <td align="left">
            <asp:TextBox ID="txtInfoURL" runat="server" CssClass="textbox" Width="300px"></asp:TextBox>
            <br />
            <span style="font-size:10px">De exemplu <b>http://www.ciripescu.com/u/ciripescu</b></span>
            </td>
        </tr>
        
        <tr>
        <td class="label_cell">
            <asp:Label ID="Label7" runat="server" Text="Hi5:" CssClass="label"></asp:Label></td>
        <td align="left">
            <asp:TextBox ID="txtHi5" runat="server" CssClass="textbox" Width="300px"></asp:TextBox>
            <br />
            <span style="font-size:10px">De exemplu <b>http://xxxxx.hi5.com/</b></span>
            
            </td>
        </tr>
        
        <tr>
        <td class="label_cell">
            <asp:Label ID="Label8" runat="server" Text="Tagged:" CssClass="label"></asp:Label></td>
        <td align="left">
            <asp:TextBox ID="txtTagged" runat="server" CssClass="textbox" Width="300px"></asp:TextBox>
            <br />
            <span style="font-size:10px">De exemplu <b>http://www.tagged.com/profile.html?uid=111111</b></span>
            </td>
        </tr>
        
        
        <tr>
        <td class="label_cell">
            <asp:Label ID="Label6" runat="server" Text="Oras:" CssClass="label"></asp:Label></td>
        <td align="left">
            <asp:TextBox ID="txtLocation" runat="server" CssClass="textbox" Width="300px"></asp:TextBox></td>
        </tr>
        <tr>
        <td></td>
        <td></td>
        </tr>
        <tr>
        <td>
           </td>
        <td>
            
            <webtools:RolloverImageButton ID="btnSaveProfile" runat="server" 
                OnClick="btnSaveProfile_Click" ImageUrl="/images/buttons/save.png" 
                MouseOutImageUrl="/images/buttons/save.png" 
                MouseOverImageUrl="/images/buttons/save_o.png" ToolTip="Salveaza modificarile"></webtools:RolloverImageButton>
            
            </td>
        </tr>
        </table>
        </ContentTemplate>
        </cc1:TabPanel>
        <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText=" Parola ">
        <ContentTemplate>
        
        <div id="divPassErrors" runat="server" class="errors"></div>
        
        <table cellpadding="5" cellspacing="5">
        <tr>
        <td class="label_cell">
            <asp:Label ID="Label2" runat="server" Text="Parola curenta:" CssClass="label"></asp:Label></td>
        <td>
        <div>
            <asp:TextBox ID="txtCurrPass" runat="server" TextMode="Password"  Width="250px"
                CssClass="textbox"></asp:TextBox>
            <div>
            <asp:LinkButton ID="lnkForgetPass" runat="server" onclick="lnkForgetPass_Click">Mi-am uitat parola ?</asp:LinkButton>
            </div>
            </div>
            </td>
        </tr>
        
        <tr>
        <td class="label_cell">
            <asp:Label ID="Label11" runat="server" Text="Noua parola:" CssClass="label"></asp:Label></td>
        <td>
            <asp:TextBox ID="txtNewPass1" runat="server" TextMode="Password" CssClass="textbox" Width="250px"></asp:TextBox>
            </td>
        </tr>
        <tr>
        <td class="label_cell">
            <asp:Label ID="Label12" runat="server" Text="Verific noua parola:" CssClass="label"></asp:Label></td>
        <td>
            <asp:TextBox ID="txtNewPass2" runat="server" TextMode="Password" CssClass="textbox" Width="250px"></asp:TextBox>
            <cc1:PasswordStrength ID="txtNewPass2_PasswordStrength" runat="server" 
                TargetControlID="txtNewPass2" Enabled="True">
            </cc1:PasswordStrength>
            </td>
        </tr>
        <tr>
        <td></td>
        <td>
            
            <webtools:RolloverImageButton ID="btnChangePass" runat="server" 
                OnClick="btnChangePass_Click" ImageUrl="/images/buttons/save.png" 
                MouseOutImageUrl="/images/buttons/save.png" 
                MouseOverImageUrl="/images/buttons/save_o.png" ToolTip="Salveaza noua parola"></webtools:RolloverImageButton>
        </td>
        </tr>
        </table>
        </ContentTemplate>
        </cc1:TabPanel>
        <cc1:TabPanel ID="TabPanel3" runat="server" HeaderText=" Notificari ">
        <ContentTemplate>
        <div id="divNoticesError" runat="server" class="errors"></div>
        <table cellpadding="5" cellspacing="5">
        <tr>
        <td align="left">
            <asp:Label ID="Label9" runat="server" Text="Trimite email cand cineva incepe sa ma urmareasca."></asp:Label></td>
        <td align="left">
            <asp:CheckBox ID="chkMailWhenFollow" runat="server" /></td>
        </tr>
        <tr>
        <td align="left">
            <asp:Label ID="Label10" runat="server" Text="Trimite email cand primesc mesaj direct."></asp:Label></td>
        <td align="left">
            <asp:CheckBox ID="chkMailDirectMessage" runat="server" /></td>
        </tr>
        <tr>
        <td></td>
        <td></td>
        </tr>
        <tr>
        <td>
            
              <webtools:RolloverImageButton ID="btnSaveNotices" runat="server" 
                OnClick="btnSaveNotices_Click" ImageUrl="/images/buttons/save.png" 
                MouseOutImageUrl="/images/buttons/save.png" 
                MouseOverImageUrl="/images/buttons/save_o.png" ToolTip="Salveaza notificarile"></webtools:RolloverImageButton>  
                
            <td>
            </td>
            
        </tr>
        
        </table>
        </ContentTemplate>
        </cc1:TabPanel>
        <cc1:TabPanel ID="TabPanel4" runat="server" HeaderText=" Avatar ">
        <ContentTemplate>
        <div runat="server" id="divPictureErrors" class="errors"></div>
            <br />
            <div>
            
            <table cellpadding="5" cellspacing="5">
            <tr>
            <td>
            <asp:UpdatePanel ID="dsfs" runat="server">
            <ContentTemplate>
            <asp:Image ID="imgPicture" runat="server" Width="48px" />
            </ContentTemplate>
            </asp:UpdatePanel>
            </td>
            <td><asp:FileUpload ID="updImage" runat="server"  CssClass="textbox" /></td>
            </tr>
            </table>
            </div>
            <br />
            <table>
            <tr>
            <td width="48px"></td>
            <td><div>
            <span>
                
                <webtools:RolloverImageButton ID="btnSavePicture" runat="server" 
                OnClick="btnSavePicture_Click" ImageUrl="/images/buttons/save.png" 
                MouseOutImageUrl="/images/buttons/save.png" 
                MouseOverImageUrl="/images/buttons/save_o.png" ToolTip="Salveaza avatar"></webtools:RolloverImageButton>  
                                  
                    </span>
            </div></td>
            </tr>
            </table>
            
        </ContentTemplate>
        </cc1:TabPanel>
    
    </cc1:TabContainer>
</div>
</asp:Content>
